package com.itzz.spring_zhoneHeng.service;

import com.itzz.spring_zhoneHeng.base.RestResponse;
import com.itzz.spring_zhoneHeng.pojo.Classification;

public interface ClassificationService {
    //查询所有的类别
    RestResponse queryAll(Classification classification, Integer pageNum, Integer pageSize);

    //修改
    RestResponse update(Classification classification);

    //删除
    RestResponse delete(Integer id);

    //添加
    RestResponse add(Classification classification);
}
